{% extends 'demo/base.html' %}
{% load static %}
{% load common_extras %}
{% block title %}
    {{ now_cls|capfirst }}博客发布
{% endblock %}
{% block link %}
    <link rel="stylesheet" href="{% static 'css/demo/add_article.css' %}">
{% endblock %}
{% block header %}
    {% include 'demo/header.html' %}
{% endblock %}
{% block main %}
    <form method="post">
        {% csrf_token %}
        <ul class="form_box">
            {{ form.as_ul }}
            <li>
                <input type="submit" value="立即发布" class="submit-btn">
            </li>
        </ul>
    </form>
{% endblock %}